﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
    <style>
        .mypics {
            margin: 30px;
            float: left;
        }
    </style>
</head>
<body>
    <div>
        <p>Here are some Rugby videos. Click on thumbnail to play.</p>
        @{ var pattern = "*.mov"; }

        @foreach (var filename in new DirectoryInfo(Server.MapPath("~/images/rugby")).GetFiles(pattern))
        {
            <p>@filename</p>
            <video src="~/images/rugby/@filename"
                   width="25%"
                   controls="controls"></video>
        }

    </div>
</body>



</html>
